import request from '@/router/axios'

export function save (data) {
  return request({
    url: '/photo',
    method: 'post',
    data:data
  })
}

export function batchSave (data) {
  return request({
    url: '/photo/batch-save',
    method: 'post',
    data:data
  })
}


export function queryByPhotoId (id) {
  return request({
    url: '/photo/photoId/'+id,
    method: 'get'
  })
}